package org.example.demo01.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

// Process.java
@Entity
@Table(name = "process")
public class Process {
    @Id
    @Column(name = "id")
    private String id;
    private String pid;  // 产品号
    private String wsid; // 工位号
    private String elapsed; // 标准耗时

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getPid() { return pid; }
    public void setPid(String pid) { this.pid = pid; }
    public String getWsid() { return wsid; }
    public void setWsid(String wsid) { this.wsid = wsid; }
    public String getElapsed() { return elapsed; }
    public void setElapsed(String elapsed) { this.elapsed = elapsed; }
}